<?php if (!empty($budget)){ ?>
  <?php echo '<div id="budgetAdditions"><div>'.$this->Html->link('Add Group', array('controller' => 'BudgetItems'),array('id'=>"addGroup")).'</div>'; ?>
  <?php echo '<div>'.$this->Html->link('Add Item', array('controller' => 'BudgetItems'), array('id'=>'addItem')).'</div></div>'; ?>

<table class="budget">
  <thead>
    <tr>
      <th>Item / Category</th>
      <th>Budgeted Amount</th>
      <th>Amount Spent</th>
    </tr>
  </thead>
  <tbody>
    <tr class="budgetGroup">
      <td colspan="3">Reception (50%)</td>
    </tr>
    <tr>
      <td>Cake</td>
      <td>$1000</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Food and Service</td>
      <td>$500</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Beverages</td>
      <td>$500</td>
      <td>&nbsp;</td>
    </tr>
  </tbody>
<tbody>
    <tr class="budgetGroup">
      <td colspan="3">Music (10%)</td>
    </tr>
    <tr>
      <td>Ceremony Musicians</td>
      <td>$1000</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>Reception Band</td>
      <td>$500</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>DJ</td>
      <td>$500</td>
      <td>&nbsp;</td>
    </tr>

  </tbody>
</table>
<?php  } else { ?>
  <p>There are no Groups/Items associated with this Budget Template.</p>
<?php } ?>